import random
import time
lists=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21"] #把1，2，3，4，5改成人名，格式不变，每个之间加逗号，每个人名要用双引号括起来
n=20 #如果有100人完成，就写99.如果有50人，就写成49。总之要与上面lists里的数据对应，如果lists里有n个数据，这里就输入n-1

def choujiang():
    global n
    a=random.randint(0,n) 
    print(lists[a])
    del(lists[a])
    n=n-1

h=1
t=int(input("请输入要循环几次"))
for i in range(t):
    print("第"+str(h)+"组")
    for i in range(10):  #表示重复10次，共抽取10个人名
        choujiang()
        time.sleep(0.1)
    h=h+1
    time.sleep(1)


